package mn.idax.exchange.otc.mapper;

import mn.idax.exchange.otc.entity.OTCOrderLog;
import mn.idax.exchange.otc.entity.OTCOrderLogExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface OTCOrderLogMapper {
    int countByExample(OTCOrderLogExample example);

    int deleteByExample(OTCOrderLogExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OTCOrderLog record);

    int insertSelective(OTCOrderLog record);

    List<OTCOrderLog> selectByExampleWithRowbounds(OTCOrderLogExample example, RowBounds rowBounds);

    List<OTCOrderLog> selectByExample(OTCOrderLogExample example);

    OTCOrderLog selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OTCOrderLog record, @Param("example") OTCOrderLogExample example);

    int updateByExample(@Param("record") OTCOrderLog record, @Param("example") OTCOrderLogExample example);

    int updateByPrimaryKeySelective(OTCOrderLog record);

    int updateByPrimaryKey(OTCOrderLog record);
}